﻿<!DOCTYPE html>
<html>
	<head>
		<title>CEILING.MATH Function</title>
		<meta charset="utf-8" />
		<meta name="description" content="" />
		<link type="text/css" rel="stylesheet" href="../../../../../../common/main/resources/help/editor.css" />
		<link type = "text/css" rel = "stylesheet" href = "../../images/sprite.css" />
        <script type="text/javascript" src="../callback.js"></script>
        <script type="text/javascript" src="../search/js/page-search.js"></script>
	</head>
	<body>
		<div class="mainpart">
            <div class="search-field">
                <input id="search" class="searchBar" placeholder="Search" type="text" onkeypress="doSearch(event)">
            </div>
			<h1>CEILING.MATH Function</h1>
			<p>The <b>CEILING.MATH</b> function is one of the <a href="../UsageInstructions/InsertFunction.htm#mathtrigonometry" onclick="onhyperlinkclick(this)">math and trigonometry functions</a>. It is used to round a number up to the nearest integer or to the nearest multiple of significance.</p>
			<h3>Syntax</h3> 
			<p><b><em>CEILING.MATH(number, [significance], [mode])</em></b></p> 
			<p>The <b>CEILING.MATH</b> function has the following arguments:</p>
            <table style="width: 40%">
                <tr>
                    <th style="background-color: #f4f4f4" width="150ch"><b>Argument</b></th>
                    <th style="background-color: #f4f4f4"><b>Description</b></th>
                </tr>
                <tr>
                    <td><b><em>number</em></b></td>
                    <td>The number you wish to round up.</td>
                </tr>
				<tr>
                    <td><b><em>significance</em></b></td>
                    <td>The multiple of significance you wish to round up to. It is an optional parameter. If it is omitted, the default value of 1 is used.</td>
                </tr>
				<tr>
                    <td><b><em>mode</em></b></td>
                    <td>Specifies if negative numbers are rounded towards or away from zero. It is an optional parameter that does not affect positive numbers. If it is omitted or set to 0, negative numbers are rounded towards zero. If any other numeric value is specified, negative numbers are rounded away from zero.</td>
                </tr>
            </table>
			
			<h3>Notes</h3>
			<p><a href="../UsageInstructions/InsertFunction.htm#applyfunction" onclick="onhyperlinkclick(this)">How to apply</a> the <b>CEILING.MATH</b> function.</p>
			
			<h3>Examples</h3>
            <p>The figure below displays the result returned by the <b>CEILING.MATH</b> function.</p>
			<p><img alt="CEILING.MATH Function" src="../images/ceilingmath.png" /></p>
		</div>
	</body>
</html>